package ${packageConfig.controllerPackage};

import org.springframework.web.bind.annotation.RequestMapping;
<#if controllerConfig.restCtrl>
import org.springframework.web.bind.annotation.RestController;
<#else>
import org.springframework.stereotype.Controller;
</#if>
<#if controllerConfig.superClassImportPackage??>
import ${controllerConfig.superClassImportPackage};
</#if>

/**
 * <p>
 * ${table.comment!} 前端控制器
 * </p>
 *
 * @author ${javadocConfig.author}
 * @since ${javadocConfig.since}
 */
<#if controllerConfig.restCtrl>
@RestController
<#else>
@Controller
</#if>
@RequestMapping("/${table.propName}")
<#if controllerConfig.superClassName??>
public class ${table.controllerClassName} extends ${controllerConfig.superClassName} {
<#else>
public class ${table.controllerClassName} {
</#if>
}
